<!--
  copyright (c) 2009 google inc.

  You are free to copy and use this sample.
  License can be found here: http://code.google.com/apis/ajaxsearch/faq/#license
-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Google Maps API Sample</title>
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;sensor=false&amp;key=<<INSERT KEY>>"></script>
    <script type="text/javascript">

    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(37.4419, -122.1419), 13);
        map.addControl(new GSmallMapControl());
    		map.addControl(new GMapTypeControl());
        
          var sw = new GLatLng(22.9942549, 120.2100949);  var ne = new GLatLng(22.9942549, 120.2100949);
      var bounds = new GLatLngBounds(sw, ne);
      var mapZoomLevel = map.getBoundsZoomLevel(bounds);
      var mapCenter = new GLatLng(22.9942549, 120.2100949)
      map.setCenter(mapCenter, mapZoomLevel);
      
      var polyline1_1 = new GPolyline.fromEncoded({
        color: "#0000ff",
        weight: 4,
        opacity: 0.8,
        points: "aajkCapu|UH`@sCuCz@mBZ{GzAmAvOJrO~@tBoAZq@Ym@v@aH|DiTrGsVt@iFzDaEfA{Gh@IpBlAbAFn@_AdH~DjDrCRt@nAeErCeCzCfCoAKlBd@lAk@jAyCz@WImAd@s@iAzB`@bBu@?}@fCm@ZqDyAeR_DG_B{B|@_EqCkAbBStAqCXcAh@Ev@_DtAxB_@g@t@_@eBq@xC`@eB{AgEt@AUjB^n@b@k@c@}@JdA\Y{@{AFcBWbDD^VuHc@bL\{Kb@hHYWVNYZOa@\^Be@u@lCh@AGsAWlCPwACrBf@NFoRZp@k@`DESBUJf@L_@UzATcAMvD`@dCi@OU}A\\oSya@W\|@v@yAq@`@i@sDzLA|BiAvF_DfEkCfIyWYm@pFDhEmAtHRrKaBtQf@rAaAf@Mt@c@BzA|AFv@g@M",
        levels: "PP",
        zoomFactor: 2, 
        numLevels: 18
      });
      map.addOverlay(polyline1_1);
      }
    }

    </script>
  </head>
  <body onload="initialize()" onunload="GUnload()" style="font-family: Arial;border: 0 none;">
    <div id="map_canvas" style="width: 500px; height: 300px"></div>
  </body>
</html>